﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITPipeLineRepository: IBaseRepository<TPipeLine>
    {
        /// <summary>
        /// 添加输送线设备信息
        /// </summary>
        /// <param name="line"></param>
        /// <returns></returns>
        bool AddPipeLine(TPipeLine line);
        /// <summary>
        /// 查询输送线设备信息
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        TPipeLine GetPipeLine(Expression<Func<TPipeLine, bool>> where);
        /// <summary>
        /// 修改输送线设备信息
        /// </summary>
        /// <param name="line"></param>
        /// <returns></returns>
        bool UpdatePipeLine(TPipeLine line);
    }
}
